.block {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  padding: 8px;
  background-color: #fbfbfb;
  border: 1px solid #e8e8e8;

  > .counter {
    display: block;
  }
}

.counter {
  display: block;
  position: absolute;
  width: 60px;
  height: 60px;
  right: -20px;
  top: -20px;
  background-color: rgba(0, 0, 0, 0.05);
  border-radius: 50%;
  color: rgba(0, 0, 0, 0.5);
  padding-left: 20px;
  padding-top: 26px;
  cursor: pointer;
  z-index: 1;
  .num {
    display: block;
  }
  .delete {
    display: none;
  }

  &:hover {
    background-color: rgba(0, 0, 0, 0.1);
    padding-left: 16px;
    .num {
      display: none;
    }
    .delete {
      display: block;
    }
  }
}
